package com.xwb.service.impl;

import com.xwb.dao.LeaderDao;
import com.xwb.domain.Leader;
import com.xwb.service.LeaderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class LeaderServiceImpl implements LeaderService {

    @Autowired
    private LeaderDao leaderDao;


    public boolean saveLeader(Leader leader) {
        leaderDao.save(leader);
        return true;
    }
}
